/**
 * Created by liguangsong on 16/8/12.
 */
import React from 'react'
import { render } from 'react-dom'
import App from './container/app.js'
import { Provider } from 'react-redux'
import store from './store/store.js'
import { Router, Route, hashHistory, IndexRoute } from 'react-router'
import ContentView from './component/contentView/index.js'

render(
    <Provider store={store}>
        <Router history={hashHistory}>
            <Route path="/" component={App}>
                <Route path="/:page" component={ContentView} />
            </Route>
        </Router>
    </Provider>,
    document.getElementById('app')
);